import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'bootstrap'
import 'bootstrap/dist/css/bootstrap.min.css'
import 'bootstrap/dist/css/bootstrap.css'
import 'bootstrap-vue/dist/bootstrap-vue.css'
import {BootstrapVue, IconsPlugin} from 'bootstrap-vue'
import './utils/ElementUI'
import './styles/reset.scss'
import './styles/index.scss'
import './styles/common.scss'
import './utils/commonPro'
import "./utils/filter"
import './utils/globalFunction'
import CustomEditor from './components/CustomEditor'; // 富文本组件
import Banner from './components/Banner'; // 轮播图组件
import Pagination from './components/Pagination'; // 分页组件
import TopBg from './components/TopBg'; // 顶部背景图
import ImageUploaderPlus from './components/ImageUploaderPlus'; //图片
import SubmitButton from './components/SubmitButton'; // 提交按钮
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/swiper-bundle.css'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import '@/styles/aboutfkw.css'
import '@/styles/fkw.css'
import '@/styles/fkwlogin.css'
import '@/styles/fkwregister.css'

Vue.config.productionTip = false
// Vue.prototype.$fileSaver = require('file-saver'); // 下载文件
Vue.prototype.$nodeEnv = process.env.NODE_ENV;
Vue.prototype.$baseApi = process.env.VUE_APP_BASE_API;

Vue.use(BootstrapVue)
Vue.use(IconsPlugin)
Vue.use(VueAwesomeSwiper, /* { default options with global component } */)
Vue.use(ElementUI)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')

Vue.component('CustomEditor', CustomEditor)
Vue.component('HomeBanner', Banner)
Vue.component('TopBg', TopBg)
Vue.component('ImageUploaderPlus', ImageUploaderPlus)
Vue.component('SubmitButton', SubmitButton)
Vue.component('Pagination', Pagination)
